const success = (data={}, message= "操作成功", code=200) => {
  return { data, message, code }
}

const fail = (data={}, message= "操作失败", code=400) => {
  return { data, message, code }
}

const handle_status= {
  success,
  fail,
}

module.exports = {
  success,
  fail,
  handle_status
};
